package com.atwei.mango.business.dataScopeDemo.priInfo.controller;

import com.atwei.mango.business.dataScopeDemo.priInfo.service.PriInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Classname PriInfoController
 * @Description 
 * @Date 2022/5/11 11:07
 * @Author liuwei
 */
@RestController
@RequestMapping(value = "/priInfo")
public class PriInfoController {

    @Autowired
    PriInfoService priInfoService;

    @GetMapping("")
    public String helloWorld(){
        priInfoService.test();
        return "helloWorld";
    }
}
